﻿using Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IService
{
    public interface IStorageLocationService
    {
        // 统一使用PaginationQuery参数
        Task<PaginationResult<StorageLocationEntity>> GetPagedListAsync(PaginationQuery query);
        // 添加删除方法定义
        Task DeleteAsync(int id);
        Task DeleteBatchAsync(int[] ids);
        Task<int> AddAsync(StorageLocationDTO dto); // 新增库位，返回ID
    }
}
